package designmode.command;

import designmode.command.elc.Stereo;

/**
 * Created by Administrator on 2017/11/1 0001.
 */
public class StereoOnCommand implements Command
{
    Stereo stereo;

    public StereoOnCommand(Stereo light)
    {
        this.stereo = light;
    }

    @Override
    public void execute()
    {
        stereo.on();
        stereo.setCD();
        stereo.setVolume(20);
    }
}
